package com.ym.domain.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;

@Data
@Table
@TableComment("客户配置表")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true, onlyExplicitlyIncluded = true)
public class CusCustomerSetting extends BaseModel {

    // 设置类型：1-DNS
    public static final short SETTING_TYPE_DNS = 1;

    @Column
    @ColumnComment("客户id")
    private Integer customerId;

    @Column
    @ColumnComment("设置类型")
    private Short settingType;

    @Column(length = 100)
    @ColumnComment("设置值")
    private String settingValue;

}
